//
//  TableModel.m
//  Estate
//
//  Created by heyong on 2016/12/2.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "TableModel.h"

@implementation TableModel

+ (instancetype)shareInstance {
    static TableModel *_auserModel = nil;
    static dispatch_once_t oncePredicate;
    dispatch_once(&oncePredicate, ^{
        _auserModel = [[self alloc] init];
    });
    return _auserModel;
}

- (NSArray *)tableArray{
    if(!_tableArray) {
        _tableArray=[NSArray arrayWithObjects:WORK_RECORD,WORK_DIARY,WORK_LOG,PROCESS,PROCESS_RECORD,INSPECT_PROCESS,INSPECT_PROCESS_RECORD,SAMPLE_PROCESS,INSPECT_TOTAL_RECORD,INSPECT_USER_ITEM,SAMPLE_PROCESS_RECORD,ATTACHMENT,PRO_ENGINEER_SURVEY,nil];
    }
    return _tableArray;
}

@end
